package com.mioto.ld.module.alert.model;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mioto.ld.component.BaseModel;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 告警配置信息实体
 * @author mioto
 * @date 2024-05-20 23:49:39
 */
@Data
@ApiModel(value = "告警配置信息")
public class AlertConfig extends BaseModel implements Serializable{

    private static final long serialVersionUID=AlertConfig.class.getName().hashCode();
    

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "告警级别id-数据字段")
    private String alertLevelId;

    @ApiModelProperty(value = "关联类型 1-产品 2-设备")
    private Integer relationType;

    @ApiModelProperty(value = "产品id")
    private Integer productId;

    @ApiModelProperty(value = "设备id列表")
    private String deviceIds;

    @ApiModelProperty(value = "告警名称")
    private String name;

    @ApiModelProperty(value = "启用状态 0-禁用 1-启用")
    private Integer status;
    
}